package gat.common.exception;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum ExceptionEnum {


    EXCEPTION_ENUM_001("001", "参数校验"),
    EXCEPTION_ENUM_99998("99998", "校验不通过"),
    EXCEPTION_ENUM_99999("99999", "未知异常"),

    //10000-11000：用户模块
    EXCEPTION_ENUM_10001("10001", "密码不能为空"),
    EXCEPTION_ENUM_10002("10002", "手机号不能为空"),
    EXCEPTION_ENUM_10003("10003", "验证码已过期"),
    EXCEPTION_ENUM_10004("10004", "请输入验证码"),
    EXCEPTION_ENUM_10005("10005", "验证码有误"),
    EXCEPTION_ENUM_10006("10005", "订单已支付"),
    EXCEPTION_ENUM_10007("10007", "该账号不存在"),
    EXCEPTION_ENUM_10008("10008", "账号或密码错误"),
    EXCEPTION_ENUM_10009("10009", "该手机号已注册"),
    EXCEPTION_ENUM_10010("10010", "已经发送过好友申请"),
    EXCEPTION_ENUM_10011("10011", "您有未处理的好友申请"),
    EXCEPTION_ENUM_10012("10012", "标题不能为空"),
    EXCEPTION_ENUM_10013("10013", "内容不能为空"),
    EXCEPTION_ENUM_10014("10014", "要收藏的合作信息不存在"),
    EXCEPTION_ENUM_10015("10015", "合作信息id不能为空"),
    EXCEPTION_ENUM_10016("10016", "认证服务异常，请稍后重试"),
    EXCEPTION_ENUM_10017("10017", "一键登录失败"),
    EXCEPTION_ENUM_10018("10018", "本月免费申请添加好友次数已用完"),
    EXCEPTION_ENUM_10019("10019","请先进行实名认证"),
    EXCEPTION_ENUM_10020("10020","您的发布次数已用完"),
    EXCEPTION_ENUM_10021("10021","该用户不存在"),
    EXCEPTION_ENUM_10022("10022","用户名不能为空"),
    EXCEPTION_ENUM_10023("10023","该账号已存在"),
    EXCEPTION_ENUM_10024("10024","账号被冻结，无法登录"),
    EXCEPTION_ENUM_10025("10025","道具模板不存在"),
    EXCEPTION_ENUM_10026("10026","请前往‘个人中心’，完善职业信息"),
    EXCEPTION_ENUM_10027("10027","密码强度不符合要求"),
    EXCEPTION_ENUM_10028("10028","已收藏过该合作信息"),
    EXCEPTION_ENUM_10029("10029","交易对象不存在"),
    EXCEPTION_ENUM_10030("10030","请先验证手机号"),
    EXCEPTION_ENUM_10031("10031","手机号格式不正确"),
    EXCEPTION_ENUM_10032("10032","时间跨度超范围"),
    EXCEPTION_ENUM_10033("10033","支付密码不正确"),
    EXCEPTION_ENUM_10034("10034","昵称已存在"),
    EXCEPTION_ENUM_10035("10035","已添加过该付款方式"),
    EXCEPTION_ENUM_10036("10036","提现金额不在允许范围之内"),
    EXCEPTION_ENUM_10037("10037","余额不足，无法提现"),
    EXCEPTION_ENUM_10038("10038","Google验证码错误或已失效"),


    //banner,广告
    EXCEPTION_ENUM_11001("11001", "标题不能为空"),
    EXCEPTION_ENUM_11002("11002", "banner图片链接不能为空"),
    EXCEPTION_ENUM_11003("11003", "企业名称必填"),
    EXCEPTION_ENUM_11004("11004", "联系人必填"),
    EXCEPTION_ENUM_11005("11005", "联系方式必填"),
    EXCEPTION_ENUM_11006("11006", "必须选择投放位置"),
    EXCEPTION_ENUM_11007("11007", "必须选择投放周期"),
    EXCEPTION_ENUM_11008("11008", "预算不能为空"),
    EXCEPTION_ENUM_11009("11009", "背景图必须上传"),

    //分类
    EXCEPTION_ENUM_12001("12001","分类下存在商品，不可删除"),

    //20000-21000：客户
    EXCEPTION_ENUM_20000("20000","客户编码不能为空"),
    EXCEPTION_ENUM_20001("20001","客户名称不能为空"),
    EXCEPTION_ENUM_20002("20002","客户关联渠道商编码不能为空"),

    EXCEPTION_ENUM_19999("19999", "");

    private String code;

    private String msg;


}
